﻿@foreach (var prop in ViewData.ModelMetadata.Properties.Where(pm => pm.ShowForDisplay && !pm.ModelType.IsAbstract && !ViewData.TemplateInfo.Visited(pm)).OrderBy(a => a.Order))
{
    <dl class="dl-horizontal">
        <dt>
            @Html.Label(prop.DisplayName)
        </dt>
        <dd>
            @Html.Display(prop.PropertyName)
        </dd>
    </dl>
}
